package com.py.custom.business.demo.protocol.request;

import com.py.custom.business.demo.protocol.groups.TemplateGroup;
import com.py.custom.common.web.request.BaseRequest;
import lombok.Data;
import lombok.NonNull;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotEmpty;

/**
 * description：
 */
@Data
public class TemplateRequest extends BaseRequest {

    @Min(value = 1, message = "页码不能小于1", groups = TemplateGroup.DefaultGroup.class)
    private Integer pageNum;

    @Min(value = 1, message = "条数不能小于1", groups = TemplateGroup.DefaultGroup.class)
    private Integer pageSize;

}
